﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace RStein.PosterousReader.WP.Behaviors
{
  public class TextboxPasswordAttachedProperties
  {
    public static Action GetTextBoxChangedAction(DependencyObject obj)
    {
      return (Action)obj.GetValue(TextBoxChangedActionProperty);
    }

    public static void SetTextBoxChangedAction(DependencyObject obj, Action value)
    {
      obj.SetValue(TextBoxChangedActionProperty, value);
    }

    public static readonly DependencyProperty TextBoxChangedActionProperty =
        DependencyProperty.RegisterAttached("TextBoxChangedAction", typeof(Action), typeof(TextboxPasswordAttachedProperties), new PropertyMetadata(null));
  }
}
